//
//  ViewController.m
//  HH
//
//  Created by yingqi on 2018/8/14.
//  Copyright © 2018年 yingqi. All rights reserved.
//

#import "ViewController.h"
#import "FrankSlider.h"
@interface ViewController ()
@property (nonatomic, strong) FrankSlider *slider;
@end

@implementation ViewController

- (FrankSlider *)slider{
    if (!_slider) {
        _slider = [[FrankSlider alloc] initWithFrame:CGRectMake(15, 100, 300, 30)];
        _slider.minimumValue = 0;
        _slider.maximumValue = 30;
        _slider.value = 3;
    }
    return _slider;
}

- (void)viewDidLoad {
    
    [super viewDidLoad];
 
    [self.view addSubview:self.slider];
    
}



@end
